package com.wl.api.service.system.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.wl.api.common.utils.BeanUtils;
import com.wl.api.dto.system.SecurityGradePriceDTO;
import com.wl.api.mapper.system.SecurityGradePriceMapper;
import com.wl.api.model.system.SecurityGradePrice;
import com.wl.api.service.system.ISecurityGradePriceService;

/**
 *
 * SecurityGradePrice 表数据服务层接口实现类
 *
 */
@Service
public class SecurityGradePriceServiceImpl extends ServiceImpl<SecurityGradePriceMapper, SecurityGradePrice> implements ISecurityGradePriceService {

	@Override
	public List<SecurityGradePrice> getGradePricesByParam(SecurityGradePriceDTO param) {
	
		return selectList(new EntityWrapper<SecurityGradePrice>(BeanUtils.copyProperties(param, SecurityGradePrice.class)));
	}


}